<h2>Events</h2>

<?php

/*
foreach ($events as $event) {
	echo $event['Event']['name'];
	foreach ($event['ticket'] as $ticket) {	
		echo $ticket['name'];
		}
	}
*/
?>

<table>
<?php
foreach ($events as $event) {
	echo "<tr>";	
		echo "<td>".$this->Html->link($event['Event']['name'], "/events/view/".$event['Event']['id'])."</td>";
		echo "<td>".$event['Event']['date']."</td>";
		echo "<td>".$event['Event']['time']."</td>";
		echo "<td>".$event['Event']['location']."</td>";
		echo "<td>".$event['Event']['address']."</td>";
	echo "</tr>";
	}

?>
</table>